package com.handinglian.ai.callin.mapper;

import com.handinglian.ai.callin.entity.CallInChat;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CallInChatMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CallInChat record);

    int insertOrUpdate(CallInChat record);

    int insertOrUpdateSelective(CallInChat record);

    int insertSelective(CallInChat record);

    CallInChat selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CallInChat record);

    int updateByPrimaryKey(CallInChat record);

    int updateBatch(List<CallInChat> list);

    int batchInsert(@Param("list") List<CallInChat> list);

    List<CallInChat> findByCallid(@Param("callid")String callid);
}